#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)
#include "SL.h"
int main()
{
	SL list;
	SLInit(&list);
	SLEndInput(&list, 1);
	SLEndInput(&list, 1);
	SLEndInput(&list, 2);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 4);
	SLPopInput(&list, 3);
	SLPopInput(&list, 5);
	SLPopInput(&list, 5);
	SLPopInput(&list, 5);
	SLPopInput(&list, 5);
	SLPopInput(&list, 5);
	SLPopInput(&list, 5);
	SLPopLoss(&list);
	SLPopLoss(&list);
	SLPopLoss(&list);
	SLPopLoss(&list);
	SLPopLoss(&list);
	SLPopLoss(&list);
	SLPopInput(&list, 3);
	SLPopLoss(&list);
	SLEndLoss(&list);
	SLPopLoss(&list);
	//SLEndInput(&list, 2);
	//SLEndInput(&list, 1);

	SLPrintf(&list);
	SLDestroy(&list);

	return 0;
}